<?php
$v_item_unit_id = _get_root_unit_id();
/*if(_is_sqlserver()){
	$sql = "Exec ONEGATE_GetAllWorkType  ";
	$ado_conn->SetFetchMode(ADODB_FETCH_NUMBER);
	$arr_list = $ado_conn->GetAll($sql);
	$v_cout = sizeof($arr_list);
}*/
//var_dump($arr_list);
?>
<body scroll =yes>
	<input type="hidden" name="hdn_spec_code" value="">
<h2 class="normal_title"><?php echo CONST_WORKTYPE_SPECICAL; ?></h2>
<table width="100%">
	<tr>
		<td></td>
		<td colspan="2">
			<DIV STYLE="overflow: auto; height:220pt;padding-left:5px;margin:0px">
				<table class="list_table2" width="99%" cellpadding="0" cellspacing="0" border="0" style='border:solid 1px #CCCCCC;'>
					<?php
					for($i = 0 ; $i < $v_cout ; $i++)
					{?>					
						<tr class = 'normal_label'>
							<td onClick="Get_name('<?php echo $arr_list[$i][1]; ?>','<?php echo $arr_list[$i][0]; ?>')">
						<?php echo "- ".$arr_list[$i][1];?>
							</td>
						</tr>
					<?php 
					}
					?>								
				</table>
			</DIV>
		</td>
	</tr>
</table>
</body>